<html>
<head>
<style type="text/css">
    
 .radio {
  background:#C9C9C9 !important;
  border:none !important;	
  color: #fff !important;  	
}

.ui-button.ui-state-active .ui-button-text {
  background-image: linear-gradient(to bottom, #8aaaff, #006db0);
  color: #fff; 
  border-radius:5px; 	
}    
    
</style>

	<script type="text/javascript">
		var aJaxURL	= "server-side/reserves/reserves.action.php";			//server side folder url
		var tName	= "example";
		var filter          =  'AND PAR1.id!=50'  ;
													

		$(document).ready(function () {
			$( "#radio" ).buttonset().click(function( event ) {	        
				filter=$(event.target).val();
		        LoadTable();
		    });	
			GetTabs("tabs");
			LoadTable();
		});

		$(document).on("tabsactivate", "#tabs", function() {
	    	
	   		LoadTable();

	    });
		var total =	[5];
		 function LoadTable() {
			 var tab = GetSelectedTab("tabs");
		//	 alert(tab)
			 GetDataTable(tName+"-"+tab, aJaxURL, "get_list", 7, "tab="+tab+"&filter="+filter, 0, "", 1, "asc", total);
	     }
    </script>
</head>

<body>
<br>
<div id="tabs" style="width: 1160px; margin: 0 auto; min-height: 768px;">
		<ul>
			<li><a href="#tab-0">საწყობი</a></li>
			<li><a href="#tab-1">საწყობი (საწარმო)</a></li>
			<li><a href="#tab-6">საწყობი (საწარმო პრინტ.)</a></li>
			<li><a href="#tab-2">საწყობი (მაღაზია)</a></li>
			<li><a href="#tab-3">საწყობი (ოფისი)</a></li>
			<li><a href="#tab-4">საწყობი (სამეურნეო)</a></li>
			<li><a href="#tab-5">ძრ. საშუალებები</a></li>
		</ul>
	<div id="tab-0">
            	<h2 align="center">საწყობი</h2>
            	<div id="button_area"> 	</div>
                <table class="display" id="example-0">
                    <thead>
                        <tr id="datatable_header">
                            <th>ID</th>
                            <th style="width: 100%">პროდუქტი</th>
                            <th class="min">კატეგორია</th>
                            <th class="min">ქვეკატეგორია</th>                                           
                            <th style="width: 100px">რაოდენობა</th>
                            <th style="width: 70px;">თვითღირებულება</th>
                            <th style="width: 70px;">თვითღირებულება</th>
                        </tr>
                    </thead>
                    <thead>
                        <tr class="search_header">
                            <th class="colum_hidden">
                            	<input type="text" name="search_id" value="ფილტრი" class="search_init" />
                            </th>
                            <th>
                                <input type="text" name="search_name" value="ფილტრი" class="search_init" />
                            </th>
                            <th>
                                <input type="text" name="search_name" value="ფილტრი" class="search_init" />
                            </th>
                            <th>
                                <input type="text" name="search_location" value="ფილტრი" class="search_init" />
                            </th>
                            <th>
                                <input type="text" name="search_quantity" value="ფილტრი" class="search_init" />
                            </th>
                            <th>
                                <input type="text" name="search_cost" value="ფილტრი" class="search_init" />
                            </th>
                            <th>
                                <input type="text" name="search_self_cost" value="ფილტრი" class="search_init" />
                            </th>
                        </tr>
                    </thead>
                    <tfoot>
                        <tr>
                            <th>&nbsp;</th>
                            <th>&nbsp;</th>
                            <th>&nbsp;</th>
                            <th>&nbsp;</th>
                            <th>&nbsp;</th>
                            <th><p align="right">ჯამი:<br/>სულ ჯამი:</th>
                            <th align="left">&nbsp;</th>
                        </tr>
                    </tfoot>
                </table>
     </div>
     	<div id="tab-1">
            	<h2 align="center">საწყობი (საწარმო)</h2>
            	<div id="button_area"> 	  
            	</div>
                <table class="display" id="example-1">
                    <thead>
                        <tr id="datatable_header">
                            <th>ID</th>
                            <th style="width: 100%">პროდუქტი</th>  
                            <th class="min">კატეგორია</th>
                            <th class="min">ქვეკატეგორია</th>                                         
                            <th style="width: 100px">რაოდენობა</th>
                            <th style="width: 70px;">თვითღირებულება</th>
                            <th style="width: 70px;">თვითღირებულება</th>
                        </tr>
                    </thead>
                    <thead>
                        <tr class="search_header">
                            <th class="colum_hidden">
                            	<input type="text" name="search_id" value="ფილტრი" class="search_init" />
                            </th>
                            <th>
                                <input type="text" name="search_name" value="ფილტრი" class="search_init" />
                            </th>
                            <th>
                                <input type="text" name="search_name" value="ფილტრი" class="search_init" />
                            </th>
                            <th>
                                <input type="text" name="search_location" value="ფილტრი" class="search_init" />
                            </th>
                            <th>
                                <input type="text" name="search_quantity" value="ფილტრი" class="search_init" />
                            </th>
                            <th>
                                <input type="text" name="search_cost" value="ფილტრი" class="search_init" />
                            </th>
                            <th>
                                <input type="text" name="search_self_cost" value="ფილტრი" class="search_init" />
                            </th>
                        </tr>
                    </thead>
                    <tfoot>
                        <tr>
                            <th>&nbsp;</th>
                            <th>&nbsp;</th>
                            <th>&nbsp;</th>
                            <th>&nbsp;</th>
                            <th>&nbsp;</th>
                            <th><p align="right">ჯამი:<br/>სულ ჯამი:</th>
                            <th align="left">&nbsp;</th>
                        </tr>
                    </tfoot>
                </table>
     </div>
     <div id="tab-6">
            	<h2 align="center">საწყობი (საწარმო)</h2>
            	<div id="button_area"> 	
            	</div>
                <table class="display" id="example-2">
                    <thead>
                        <tr id="datatable_header">
                            <th>ID</th>
                            <th style="width: 100%">პროდუქტი</th>  
                            <th class="min">კატეგორია</th>
                            <th class="min">ქვეკატეგორია</th>                                         
                            <th style="width: 100px">რაოდენობა</th>
                            <th style="width: 70px;">თვითღირებულება</th>
                            <th style="width: 70px;">თვითღირებულება</th>
                        </tr>
                    </thead>
                    <thead>
                        <tr class="search_header">
                            <th class="colum_hidden">
                            	<input type="text" name="search_id" value="ფილტრი" class="search_init" />
                            </th>
                            <th>
                                <input type="text" name="search_name" value="ფილტრი" class="search_init" />
                            </th>
                            <th>
                                <input type="text" name="search_name" value="ფილტრი" class="search_init" />
                            </th>
                            <th>
                                <input type="text" name="search_location" value="ფილტრი" class="search_init" />
                            </th>
                            <th>
                                <input type="text" name="search_quantity" value="ფილტრი" class="search_init" />
                            </th>
                            <th>
                                <input type="text" name="search_cost" value="ფილტრი" class="search_init" />
                            </th>
                            <th>
                                <input type="text" name="search_self_cost" value="ფილტრი" class="search_init" />
                            </th>
                        </tr>
                    </thead>
                    <tfoot>
                        <tr>
                            <th>&nbsp;</th>
                            <th>&nbsp;</th>
                            <th>&nbsp;</th>
                            <th>&nbsp;</th>
                            <th>&nbsp;</th>
                            <th><p align="right">ჯამი:<br/>სულ ჯამი:</th>
                            <th align="left">&nbsp;</th>
                        </tr>
                    </tfoot>
                </table>
     </div>
     	
     	<div id="tab-2">
            	<h2 align="center">საწყობი (მაღაზია)</h2>
            	<div id="button_area"> 	</div>
                <table class="display" id="example-3">
                    <thead>
                        <tr id="datatable_header">
                            <th>ID</th>
                            <th class="min">კატეგორია</th>
                            <th class="min">ქვეკატეგორია</th>
                            <th style="width: 100%">პროდუქტი</th>               
                            <th style="width: 100px">რაოდენობა</th>
                            <th style="width: 70px;">თვითღირებულება</th>
                            <th style="width: 70px;">თვითღირებულება</th>
                        </tr>
                    </thead>
                    <thead>
                        <tr class="search_header">
                            <th class="colum_hidden">
                            	<input type="text" name="search_id" value="ფილტრი" class="search_init" />
                            </th>
                            <th>
                                <input type="text" name="search_name" value="ფილტრი" class="search_init" />
                            </th>
                            <th>
                                <input type="text" name="search_name" value="ფილტრი" class="search_init" />
                            </th>
                            <th>
                                <input type="text" name="search_location" value="ფილტრი" class="search_init" />
                            </th>
                            <th>
                                <input type="text" name="search_quantity" value="ფილტრი" class="search_init" />
                            </th>
                            <th>
                                <input type="text" name="search_cost" value="ფილტრი" class="search_init" />
                            </th>
                            <th>
                                <input type="text" name="search_self_cost" value="ფილტრი" class="search_init" />
                            </th>
                        </tr>
                    </thead>
                    <tfoot>
                        <tr>
                            <th>&nbsp;</th>
                            <th>&nbsp;</th>
                            <th>&nbsp;</th>
                            <th>&nbsp;</th>
                            <th>&nbsp;</th>
                            <th><p align="right">ჯამი:<br/>სულ ჯამი:</th>
                            <th align="left">&nbsp;</th>
                        </tr>
                    </tfoot>
                </table>
            <div class="spacer"> </div>
     </div>
     	<div id="tab-3">
            	<h2 align="center">საწყობი (ოფისი)</h2>
            	<div id="button_area"> 	</div>
                <table class="display" id="example-4">
                    <thead>
                        <tr id="datatable_header">
                            <th>ID</th>
                            <th class="min">კატეგორია</th>
                            <th class="min">ქვეკატეგორია</th>
                            <th style="width: 100%">პროდუქტი</th>               
                            <th style="width: 100px">რაოდენობა</th>
                            <th style="width: 70px;">თვითღირებულება</th>
                            <th style="width: 70px;">თვითღირებულება</th>
                        </tr>
                    </thead>
                    <thead>
                        <tr class="search_header">
                            <th class="colum_hidden">
                            	<input type="text" name="search_id" value="ფილტრი" class="search_init" />
                            </th>
                            <th>
                                <input type="text" name="search_name" value="ფილტრი" class="search_init" />
                            </th>
                            <th>
                                <input type="text" name="search_name" value="ფილტრი" class="search_init" />
                            </th>
                            <th>
                                <input type="text" name="search_location" value="ფილტრი" class="search_init" />
                            </th>
                            <th>
                                <input type="text" name="search_quantity" value="ფილტრი" class="search_init" />
                            </th>
                            <th>
                                <input type="text" name="search_cost" value="ფილტრი" class="search_init" />
                            </th>
                            <th>
                                <input type="text" name="search_self_cost" value="ფილტრი" class="search_init" />
                            </th>
                        </tr>
                    </thead>
                    <tfoot>
                        <tr>
                            <th>&nbsp;</th>
                            <th>&nbsp;</th>
                            <th>&nbsp;</th>
                            <th>&nbsp;</th>
                            <th>&nbsp;</th>
                            <th><p align="right">ჯამი:<br/>სულ ჯამი:</th>
                            <th align="left">&nbsp;</th>
                        </tr>
                    </tfoot>
                </table>
            <div class="spacer"> </div>
     </div>
     <div id="tab-4">
            	<h2 align="center">საწყობი (სამეურნეო)</h2>
            	<div id="button_area"> 	</div>
                <table class="display" id="example-5">
                          <thead>
                        <tr id="datatable_header">
                            <th>ID</th>
                            <th style="width: 100%">პროდუქტი</th>  
                            <th class="min">კატეგორია</th>
                            <th class="min">ქვეკატეგორია</th>                                         
                            <th style="width: 100px">რაოდენობა</th>
                            <th style="width: 70px;">თვითღირებულება</th>
                            <th style="width: 70px;">თვითღირებულება</th>
                        </tr>
                    </thead>
                    <thead>
                        <tr class="search_header">
                            <th class="colum_hidden">
                            	<input type="text" name="search_id" value="ფილტრი" class="search_init" />
                            </th>
                            <th>
                                <input type="text" name="search_name" value="ფილტრი" class="search_init" />
                            </th>
                            <th>
                                <input type="text" name="search_name" value="ფილტრი" class="search_init" />
                            </th>
                            <th>
                                <input type="text" name="search_location" value="ფილტრი" class="search_init" />
                            </th>
                            <th>
                                <input type="text" name="search_quantity" value="ფილტრი" class="search_init" />
                            </th>
                            <th>
                                <input type="text" name="search_cost" value="ფილტრი" class="search_init" />
                            </th>
                            <th>
                                <input type="text" name="search_self_cost" value="ფილტრი" class="search_init" />
                            </th>
                        </tr>
                    </thead>
                    <tfoot>
                        <tr>
                            <th>&nbsp;</th>
                            <th>&nbsp;</th>
                            <th>&nbsp;</th>
                            <th>&nbsp;</th>
                            <th>&nbsp;</th>
                            <th><p align="right">ჯამი:<br/>სულ ჯამი:</th>
                            <th align="left">&nbsp;</th>
                        </tr>
                    </tfoot>
                </table>
            <div class="spacer"> </div>
     </div>
     <div id="tab-5">
            	<h2 align="center">ძრ. საშუალებები</h2>
            	<div id="button_area"> 	</div>
                <table class="display" id="example-6">
                    <thead>
                        <tr id="datatable_header">
                            <th>ID</th>
                            <th style="width: 100%">პროდუქტი</th>  
                            <th class="min">კატეგორია</th>
                            <th class="min">ქვეკატეგორია</th>             
                            <th style="width: 100px">რაოდენობა</th>
                            <th style="width: 70px;">თვითღირებულება</th>
                            <th style="width: 70px;">თვითღირებულება</th>
                        </tr>
                    </thead>
                    <thead>
                        <tr class="search_header">
                            <th class="colum_hidden">
                            	<input type="text" name="search_id" value="ფილტრი" class="search_init" />
                            </th>
                            <th>
                                <input type="text" name="search_name" value="ფილტრი" class="search_init" />
                            </th>
                            <th>
                                <input type="text" name="search_name" value="ფილტრი" class="search_init" />
                            </th>
                            <th>
                                <input type="text" name="search_location" value="ფილტრი" class="search_init" />
                            </th>
                            <th>
                                <input type="text" name="search_quantity" value="ფილტრი" class="search_init" />
                            </th>
                            <th>
                                <input type="text" name="search_cost" value="ფილტრი" class="search_init" />
                            </th>
                            <th>
                                <input type="text" name="search_self_cost" value="ფილტრი" class="search_init" />
                            </th>
                        </tr>
                    </thead>
                    <tfoot>
                        <tr>
                            <th>&nbsp;</th>
                            <th>&nbsp;</th>
                            <th>&nbsp;</th>
                            <th>&nbsp;</th>
                            <th>&nbsp;</th>
                            <th><p align="right">ჯამი:<br/>სულ ჯამი:</th>
                            <th align="left">&nbsp;</th>
                        </tr>
                    </tfoot>
                </table>
            <div class="spacer"> </div>
     </div>

</div>
</body>
</html>